proc msg:remchan {nick host handle arg} {
global botnick 
  set otbn1 [lindex $arg 0]
  set chan $otbn1
if {![matchattr $handle o]} {
  putquick "NOTICE $nick :Unable To Execute Command - Permission Denied."
  return 0
  }
if {![matchattr $handle A]} {
  putquick "NOTICE $nick :\0034ERROR - Unable To Execute Command - You need to authenticate first - Permission Denied."           
  putquick "NOTICE $nick :You may authenticate yourself by typing \002/msg $botnick auth <your password>\002"
  return 0
  }
if {[matchattr $handle D]} {
  putquick "NOTICE $nick :Unable To Execute Command - Access Is Disabled - Permission Denied."
  return 0
  }
  remchan $nick $chan $otbn1 $handle $host
  return 0
  }









